package com.app.manage.moudles.server.entity;

import java.util.Date;

import com.app.manage.utils.PageSearch;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 服务器-目前仅支持账号/密码登录(TServer)表实体类
 *
 * @author makejava
 * @since 2025-05-20 11:25:08
 */
@Data
@TableName("t_server")
public class TServer {
    
    private Integer id;
    //服务器名称
    private String serverName;
    //服务器Ip
    private String serverIp;
    //登录用户
    private String loginUser;
    //登录密码
    private String loginPwd;

    private Integer loginPort;

    //服务器状态：0是失效/1是有效
    private Integer serverStatus;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;
    
    private String createBy;
    
    private Date updateTime;
    
    private String updateBy;
    
    private String remark;

    @TableField(exist = false)
    private long appServerCounts;

    @TableField(exist = false)
    private String statusList;

    @TableField(exist = false)
    private String statusName;



}

